package com.macro.mall.mapper;

import com.macro.mall.model.PmProdReleaseArea;
import com.macro.mall.model.PmProdReleaseAreaExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PmProdReleaseAreaMapper {
    long countByExample(PmProdReleaseAreaExample example);

    int deleteByExample(PmProdReleaseAreaExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PmProdReleaseArea record);

    int insertSelective(PmProdReleaseArea record);

    List<PmProdReleaseArea> selectByExample(PmProdReleaseAreaExample example);

    PmProdReleaseArea selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmProdReleaseArea record, @Param("example") PmProdReleaseAreaExample example);

    int updateByExample(@Param("record") PmProdReleaseArea record, @Param("example") PmProdReleaseAreaExample example);

    int updateByPrimaryKeySelective(PmProdReleaseArea record);

    int updateByPrimaryKey(PmProdReleaseArea record);
}